package cn.maihe.elg.operation.supports.bank.cmb.tradingmanager.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Size;

/**
 * @version V1.0
 * (C)2019-2021 福建省金柠网络科技有限公司. All rights reserved.
 * @author: Alan
 * @createTime: 2022-06-30 14:12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PubReqConfig {
    /**
     * 公钥
     */
    @ApiModelProperty(value = "公钥")
    @Size(max = 500, message = "公钥长度不能超过500")
    private String publicKey;

    /**
     * 私钥
     */
    @ApiModelProperty(value = "私钥")
    @Size(max = 2000, message = "私钥长度不能超过2000")
    private String privateKey;

    /**
     * 国密SM4密钥
     */
    @ApiModelProperty(value = "私钥")
    @Size(max = 2000, message = "私钥长度不能超过2000")
    private String sm4key;
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    @Size(max = 50, message = "用户ID长度不能超过50")
    private String userId;
    /**
     * url
     */
    @ApiModelProperty(value = "url")
    @Size(max = 500, message = "url长度不能超过500")
    private String url;
}
